<include file="header" />
<body>
<div class="wraper" js="wapjs/bill">

	<div class="head clearfix">
		<a href="{BEESCRM::U('/base/UserCenter/tradeRecord',array('account_id'=>$accountId))}" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">月账单</span>
		<!-- <a href="#" class="pull-right text-right">月账单</a> -->
	</div>

	<empty name="monthConsumeArr">
		<div class="norecord">
			<img src="/assets/base/userCenter/images/notrade.png"/>
			<p>没有交易记录</p>
		</div>
		<else />
		<div class="padding tb-mode">
			<p class="tb-cell text-grey">最近消费趋势<span class="iconfont icon-rili pull-right text-blue" id="clendar"></span></p>
			<div class="clendar">
				<foreach name="month" item="vo" key="k">
					<a href="{BEESCRM::U('/base/UserCenter/tradeRecordDetails',array('monthId' => $k,'accountId'=>$accountId))}">{BEESCRM:$vo}</a>
				</foreach>
			</div>
		</div>

		<div class="lists text-center">
			<div id="bill" class="charts"></div>
			<!--<p>你已壕败本校99%的童鞋</p>-->
		</div>

		<div class="title padding tb-mode">
			<p class="tb-cell text-grey">{BEESCRM:$monthRecord}总消费<span class="pull-right">{BEESCRM:$monthConsumeArr[$monthRecord]['totalMoney']}元</span></p>
		</div>

		<if condition="$judge['consume'] eq 0">
			<div class="norecord lists clearfix">
				<!--<img src="/assets/base/userCenter/images/notrade.png"/>-->
				<p>没有消费记录</p>
			</div>
			<else />
			<div class="lists clearfix">
				<foreach name="data" item="vo" key="key">
					<foreach name="vo" item="v" key="k">
						<if condition="$key eq $monthRecord">
							<div class="forth-list">
								<p class="icon-box color-{BEESCRM:$v.color}"><span class="iconfont icon-rili"></span></p>
								<p class="text-12">{BEESCRM:$v.title}</p>
								<p>{BEESCRM:$v.money}</p>
							</div>
						</if>
					</foreach>
				</foreach>
			</div>
		</if>


		<!--<div class="title padding tb-mode">
			<p class="tb-cell text-grey">{BEESCRM:$monthRecord}总充值<span class="pull-right">{BEESCRM:$monthRechargeArr[$monthRecord]['totalMoney']}元</span></p>
		</div>

		<if condition="$judge['recharge'] eq 0">
			<div class="norecord lists clearfix">
				<p>没有充值记录</p>
			</div>
			<else />
			<div class="lists clearfix">
				<foreach name="monthArrRecharge" item="vo" key="key">
					<foreach name="vo" item="v" key="k">
						<if condition="$key eq $monthRecord">
							<div class="forth-list">
								<p class="icon-box color-{BEESCRM:$v.color}"><span class="iconfont icon-rili"></span></p>
								<p class="text-12">{BEESCRM:$v.title}</p>
								<p>{BEESCRM:$v.money}</p>
							</div>
						</if>
					</foreach>
				</foreach>
			</div>
		</if>-->


	</empty>

</div>

<input type="hidden" name="currentMonth" id="currentMonth" value="{BEESCRM:$monthId}" />
<script type="text/javascript" src="/assets/base/userCenter/modules/sea.js"></script>
<script enter="publicjs/public" id="confnode" async="async" src="/assets/base/userCenter/static/publicjs/config.js"></script>
<script>

</script>
</body>
</html>